package blog.service;

import blog.pojo.Notice;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;


public interface NoticeService {

    IPage<Notice> getPage(Integer page, Integer limit, Integer categoryId)  throws Exception;

    Page<Notice> getPage(Page page, Notice notice, String keywords)  throws Exception;

    Notice getInfo(Integer id) throws Exception;

    Boolean update(Notice notice) throws Exception;

    Boolean insert(Notice notice) throws Exception;
}
